Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interactive to other mz layers #249

Merged
merged 1 commit into from
May 22, 2017
Merged

Conversation

tallytalwar
Copy link
Member

@tallytalwar tallytalwar commented May 22, 2017

Added interactive for the following mz sdk layers:

  • mz_current_location_gem,
  • mz_dropped_pin,
  • mz_default_line
  • mz_default_polygon

While updating the mapzen android sdk to use latest tangram-es release, @sarahlensing and I found that we need to have interactivity set for custom MapData. We already had this for point data layers, but will also make sense for polygon and polyline data layers. Along with that I think it does make sense to have interactivity set for mz_current_location_gem.

Along with this it might make sense to have interactive set for mz_route_line, mz_route_line_dash, mz_route_line_transit to provide functionality of user picking one of multiple routes. (This has a dependency currently on valhalla functionality, I think we do not have valhalla functionality to get multiple routes). Also maybe have it set for mz_route_transit_stop, again dependent on valhalla functionality. I have not made any changes for this in this PR.

@nvkelso I am not sure how you propagate these to different variants of a style sheet. Let me know if its manual, then will update other bubble-wrap variant yaml files. Will also file a PR for other house styles once we have a consensus here.

With respect to using this in the upcoming version of android and ios sdk, me and @sarahlensing were thinking if we can have a patched release of 7.0.1 with these changes. @nvkelso thoughts on this?

Added interactive for the following mz sdk layers:
- `mz_current_location_gem`,
- `mz_dropped_pin`,
- `mz_default_line`
- `mz_default_polygon`
@tallytalwar tallytalwar requested review from sarahsnow1 and nvkelso May 22, 2017 15:39
Copy link
Member

@nvkelso nvkelso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nvkelso
Copy link
Member

nvkelso commented May 22, 2017

@tallytalwar Thanks for the correction. All these styles used to have interactive: true set a while ago, then we removed that to improve performance, but that was too aggressive for these styles.

For packaging – Just make PRs for the "default" Github repo (not the *-more-labels or *-no-labels variants, those are built manually right now from the default base)

Copy link
Member

@nvkelso nvkelso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Looks like mz_dropped_pin was already interactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants